Why can I browse to localhost, not to my computer name? (IIS7) [closed]
Posted
by
Lost Hobbit
on Server Fault
See other posts from Server Fault
or by Lost Hobbit
Published on 2011-11-15T13:22:48Z
Indexed on
2011/11/15
17:55 UTC
Read the original article
Hit count: 131
iis7
|internet-explorer-9
I'm not very clued up on IIS, but I'm trying to do something that I thought would be quite simple.
In IE, if I browse to http://localhost:80, I am greeted with a pretty picture with a bunch of welcome messages and a big "IIS7", thanks to the graphic designers at Microsoft.
In IE, if I browse to http://mycomputername:80, I'm greeted with 404.
It may be my fault... perhaps I've done something weird. Chrome replies 404 to either of those.
Should this work, and if so, what am I doing wrong, or what can I do to get it to work?
What might cause this to happen and how can I fix it?
EDIT
To add a bit more information. I did find after posting this question that http://localhost:80 was the only URL I could access on my local PC. I could not access any of the virtual sub-directories on localhost via my browser.
© Server Fault or respective owner